#include "DopplerDrawScan.h"
#include "string.h"
#include <QImage>
#include <QPainter>
#include <QPen>
#include <QPointF>
#include <assert.h>

DopplerDrawScan::DopplerDrawScan():QObject(0)
{
    m_cInfo.nDrawType = NO_DRAW ;
}

void DopplerDrawScan::SetDrawType(DRAW_TYPE nType_)
{
    m_cInfo.nDrawType  = nType_  ;
}

void DopplerDrawScan::SetDrawInfo(DrawInfo* pInfo_)
{
    memcpy((void*)&m_cInfo , (void*)pInfo_ , sizeof(DrawInfo))  ;
}


void DopplerDrawScan::SetPointQty(int nPointQty_)
{
    m_cInfo.nPointQty = nPointQty_ ;
}


void DopplerDrawScan::SetSampleDataAddr(volatile unsigned char* pData_)
{
    if(pData_)
        m_cInfo.pData  = pData_  ;
}


void DopplerDrawScan::Draw(QImage* pImage_)
{
    if(!pImage_)  return ;
}
